{% extends "base.html" %}

{% block titulo %}Página del profesor - {{group.teacher.get_full_name}}{% endblock %}

{%block style%}<link rel="stylesheet" type="text/css" href="/stylesheets/profiles.css" />{%endblock%}

{% block breadcrumbs %}
    <div id="middleBreadcrumb">
        <a href="/home/">home</a> >
    </div>
    <div id="middleBreadcrumb">
        <a href="/course/{{group.course.code}}/{{group.code}}/">{{group.course.name}}</a> >
    </div>
    <div id="lastBreadcrumb">
        {{group.teacher.get_full_name}}
    </div>
{% endblock %}

{% block cuerpo %}
    <img id="teacher_pic" src="{{group.teacher.avatar.path}}" Alt="{{group.teacher.get_full_name}}" />
    <div id="teacher_info">
        Nombre: {{group.teacher.get_full_name}}<br />
        {% if group.teacher.location%}
        Ubicación física: {{group.teacher.location}} <br />
        {% endif %}
        {% if group.teacher.phone_number%}
        Teléfono: {{group.teacher.phone_number}}<br />
        {%endif%}
        {% if group.teacher.email%}
        e-mail: <a href="mailto:{{group.teacher.email}}">{{group.teacher.email}}</a><br />
        {%endif%}
        {% if group.teacher.messenger %}
        messenger: {{group.teacher.messenger}}<br />
        {% endif %}
        {% if group.teacher.skype %}
        skype: {{group.teacher.skype}}<br />
        {% endif %}
        office hours:<br />
        {% if group.teacher.homepage%}
        homepage: <a href="{{group.teacher.homepage}}">{{group.teacher.homepage}}</a><br />
        {%endif%}
    </div>
{%endblock%}


